package com.csdn.springbootmybatis.mapper;


import com.csdn.springbootmybatis.mode.Account;

import java.util.List;

public interface AccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Account record);

    int insertSelective(Account record);

    Account selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);

    List<Account> selectByLoginNameAndPassword(String loginName, String password);

    List<Account> selectAll();

    List<Account> selectByPermission();
}